package com.dmz.workflow.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.echronos.commons.utils.FilePathDeSerializer;
import com.echronos.commons.utils.FilePathSerializer;
import lombok.Data;

import java.io.Serializable;

/**
 * 审批对象组
 */
@Data
public class ExamineGroup implements Serializable {
    private static final long serialVersionUID = 8104071733645788949L;
    /**
     * 审核人类型id  （1：人，2：部门，3：角色）
     */
    private Integer userType;

    /**
     * 审核人组
     */
    private Integer userGroup;

    /**
     * 审核人名称
     */
    private String userGroupName;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 审核人头像
     */
    @JSONField(deserializeUsing = FilePathDeSerializer.class, serializeUsing = FilePathSerializer.class)
    private String url;
}
